package com.usercar.service.impl;

import com.usercar.pojo.Label;
import com.usercar.mapper.LabelMapper;
import com.usercar.service.ILabelService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ${author}
 * @since 2021-08-13
 */
@Service
public class LabelServiceImpl extends ServiceImpl<LabelMapper, Label> implements ILabelService {

    @Autowired
    private LabelMapper labelMapper;
    @Override
    public Label selectById(Long label) {
        Label label1 = labelMapper.selectById(label);
        return label1;
    }
}
